<?php /* Smarty version Smarty-3.1.21-dev, created on 2018-03-06 21:53:51
         compiled from "/data/wwwroot/61kq.com/uploads/app/template/wap/redeem.htm" */ ?>
<?php /*%%SmartyHeaderCode:10075077735a9e9d6fdebf93-95695368%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd1b2f8ef217cbe8089473a51e68189a2fce82bfb' => 
    array (
      0 => '/data/wwwroot/61kq.com/uploads/app/template/wap/redeem.htm',
      1 => 1515035046,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10075077735a9e9d6fdebf93-95695368',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lunbo' => 0,
    'config' => 0,
    'lipin' => 0,
    'v' => 0,
    'recommended' => 0,
    'val' => 0,
    'remen' => 0,
    'wap_style' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5a9e9d6feb9b32_08150213',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a9e9d6feb9b32_08150213')) {function content_5a9e9d6feb9b32_08150213($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include '/data/wwwroot/61kq.com/uploads/app/include/libs/plugins/function.url.php';
?><?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['wapstyle']->value)."/header_cont.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<style>
.tips{display:none;}
</style>
<div class="wap_store">
      <div id="ad" class="flexslider">
		<ul class="slides">
		<?php  $_smarty_tpl->tpl_vars["lunbo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["lunbo"]->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$AdArr=array();$paramer=array();
			include(PLUS_PATH.'/pimg_cache.php');$add_arr = $ad_label[34];if(is_array($add_arr) && !empty($add_arr)){
				$i=0;$limit = 0;$length = 0;
				foreach($add_arr as $key=>$value){
					if(($value['did']==$config['did'] ||$value['did']=='0')&&$value['start']<time()&&$value['end']>time()){
						if($i>0 && $limit==$i){
							break;
						}
						if($length>0){
							$value['name'] = mb_substr($value['name'],0,$length);
						}
						if($paramer['type']!=""){
							if($paramer['type'] == $value['type']){
								$AdArr[] = $value;
							}
						}else{
							$AdArr[] = $value;
						}
						$i++;
					}
				}
			}$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
foreach ($AdArr as $_smarty_tpl->tpl_vars["lunbo"]->key => $_smarty_tpl->tpl_vars["lunbo"]->value) {
$_smarty_tpl->tpl_vars["lunbo"]->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars["lunbo"]->key;
?>
		<li><a href="<?php echo $_smarty_tpl->tpl_vars['lunbo']->value['src'];?>
" ><img src="<?php echo $_smarty_tpl->tpl_vars['lunbo']->value['pic'];?>
" width='100%'/></a></li>
		<?php } ?>
		</ul>
	</div> 
    
    <div class="clear"></div>
     <div class="wap_store_ps">
          <div class="wap_store_ps_ft"><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/app/template/wap/images/wap_ps.png"/></div>
          <div class="wap_store_ps_rt">
               <div class="wap_store_ps_rt_wr" style="height:35px;overflow:hidden;">
                <ul>
        		<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['lipin']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
        		<li>
                   <div><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
 会员 花了 <b style="color:#093"><?php echo $_smarty_tpl->tpl_vars['v']->value['integral'];?>
</b> <?php echo $_smarty_tpl->tpl_vars['config']->value['integral_priceunit'];
echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
</div>
                   <div> 兑换了<i><a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'redeem','a'=>'show','id'=>'`$v.gid`'),$_smarty_tpl);?>
" target="_blank" style="color:#f60"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</a></i> </div>
               </li>
               <?php } ?>
			   </ul>
               </div>
          </div>
     </div>
     <div class="wap_recommend fl">
          <div class="wap_recommend_head">
               <div class="head_left"><i class="head_left_icon fl"></i><span>推荐商品</span></div>
               <div class="head_right"><a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'redeem','a'=>'list'),$_smarty_tpl);?>
">更多 &gt;&gt;</a></div>
          </div>
          <div class="wap_recommend_ct">
          <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['jj'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['recommended']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['jj']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
               <div class="ct_product fl" style="width:33%">
               <a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'redeem','a'=>'show','id'=>'`$val.id`'),$_smarty_tpl);?>
">
                    <dl>
                        <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/<?php echo $_smarty_tpl->tpl_vars['val']->value['pic'];?>
" width="80" height="80"/></dt>
                        <dd class="pr_nm"><?php echo mb_substr($_smarty_tpl->tpl_vars['val']->value['name'],0,5,'utf-8');?>
</dd>
                        <dd class="pr_score"><?php echo $_smarty_tpl->tpl_vars['val']->value['integral'];
echo $_smarty_tpl->tpl_vars['config']->value['integral_priceunit'];
echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
</dd>
                    </dl>
                    </a>
               </div>
          <?php } ?>
         </div>
         
     </div>
     <div class="wap_recommend fl">
          <div class="wap_recommend_head">
               <div class="head_left"><i class="head_left_icon fl"></i><span>热门兑换</span></div>
               <div class="head_right"><a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'redeem','a'=>'list'),$_smarty_tpl);?>
">更多 &gt;&gt;</a></div>
          </div>
          <div class="wap_recommend_ct">
               <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['jj'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['remen']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['jj']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
               <div class="ct_product fl" style="width:33%">
                <a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'redeem','a'=>'show','id'=>'`$val.id`'),$_smarty_tpl);?>
">
                    <dl>
                        <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/<?php echo $_smarty_tpl->tpl_vars['val']->value['pic'];?>
" width="80" height="80"/></dt>
                        <dd class="pr_nm"><?php echo mb_substr($_smarty_tpl->tpl_vars['val']->value['name'],0,5,'utf-8');?>
</dd>
                        <dd class="pr_score"><?php echo $_smarty_tpl->tpl_vars['val']->value['integral'];
echo $_smarty_tpl->tpl_vars['config']->value['integral_priceunit'];
echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
</dd>
                    </dl>
                    </a>
               </div>
          <?php } ?>
         </div>
     </div>   
</div>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/prefixfree.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/layer/layer.m.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/redeem.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/jquery.flexslider-min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
$(function() {
	$(".flexslider").flexslider({
		slideshowSpeed: 3000, //展示时间间隔ms
		animationSpeed: 3000, //滚动时间ms
		touch: true //是否支持触屏滑动(比如可用在手机触屏焦点图)
	});
	marquee("2000",".wap_store_ps_rt_wr ul");

});

<?php echo '</script'; ?>
>
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['wapstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 <?php }} ?>
